package com.wenshi.system.domain.vo.request;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiOperation("修改设备实体类")
public class UpdateDeviceRequest {

    @ApiModelProperty(name = "设备id",notes = "")
    private Long deviceId;

    @ApiModelProperty(name = "设备名称",notes = "")
    @NotBlank(message = "设备名称不能为空")
    private String deviceName;

    @ApiModelProperty(name = "设备类型",notes = "")
    private String deviceType;

    @ApiModelProperty(name = "设备Ip",notes = "")
    @NotBlank(message = "设备Ip不能为空")
    private String deviceIp;

    private boolean deviceStatus;

    @ApiModelProperty(name = "设备端口号",notes = "")
    private Long devicePort;

    @ApiModelProperty(name = "设备所属地区",notes = "")
    private String deviceArea;
}
